import { createApp } from 'vue'
import App from './App.vue'
import './assets/base.css'
import 'amfe-flexible'
import router from './router/index.js'
import {Button, Icon, TreeSelect} from 'vant';
import 'vant/lib/index.css';
import {Tab, Tabs} from 'vant';
import { Stepper } from 'vant';
import { ActionBar, ActionBarIcon, ActionBarButton } from 'vant';
import store from './store';
import 'vant/es/toast/style';
import { Checkbox, CheckboxGroup } from 'vant';
import { SubmitBar } from 'vant';
import { ContactCard } from 'vant';
import { Card } from 'vant';
import { AddressList } from 'vant';
import { AddressEdit } from 'vant';
import { Form, Field, CellGroup } from 'vant';

const app = createApp(App);
app.use(router).use(Button).use(Icon)
app.use(Tab);
app.use(Tabs);
app.use(TreeSelect);
app.use(Stepper);
app.use(ActionBar);
app.use(ActionBarIcon);
app.use(ActionBarButton);
app.use(store);
app.use(Checkbox);
app.use(CheckboxGroup);
app.use(SubmitBar);
app.use(ContactCard);
app.use(Card);
app.use(AddressList);
app.use(AddressEdit);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.mount('#app')
//createApp(App).mount('#app')
